From 50fa1545116f81cd9014a2a83eabdeb7d05a0fa9 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Mon, 13 Jun 2016 12:51:22 -0400 Subject: [PATCH] Don't try to use the context language when auto-creating Most of the time the context language won't be ready yet, because it needs the user we're auto-creating. Bug: T124367 Change-Id: I0376647be33e81593101378217b37363125cfddf --- includes/auth/AuthManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/auth/AuthManager.php b/includes/auth/AuthManager.php index 2ed0d618c7..7ca9c6a6df 100644 --- a/includes/auth/AuthManager.php +++ b/includes/auth/AuthManager.php @@ -1650,7 +1650,7 @@ class AuthManager implements LoggerAwareInterface { throw $ex; } - $this->setDefaultUserOptions( $user, true ); + $this->setDefaultUserOptions( $user, false ); // Inform the providers $this->callMethodOnProviders( 6, 'autoCreatedAccount', [ $user, $source ] ); -- 2.20.1